package com.db.patterns.facade;

import java.math.BigDecimal;

/**
 * 存款服务子系统
 */
public class DepositManagement {
    public void deposit(String account, BigDecimal amount) {
        System.out.println(account + " 存款了 " + amount);
    }

    public void withdraw(String accountName, BigDecimal amount) {
        System.out.println(accountName + "取款了" + amount);
    }
}
